import Vue from 'vue'
import Router from 'vue-router'
import wallet from '@/components/wallet/wallet'
import loan from '@/components/wallet/loan'
import header_nav from '@/components/header_nav'
import footer_nav from '@/components/footer_nav'
import stages from '@/components/stages'
import me from '@/components/me'
import login from '@/components/login'
import feedback from '@/components/feedback'
import help from '@/components/help'
import answerList from '@/components/answerList'
import authenticationCenter from '@/components/authenticationCenter'
import news from '@/components/news'

//认证中心
import identity from '@/components/renzhengzhongxin/identity'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'authenticationCenter',
      component: authenticationCenter,
    },
    {
      path: '/wallet',
      name: 'wallet',
      component: wallet,
    },
    {
      path: '/stages',
      name: 'stages',
      component: stages,
    },
    {
      path: '/news',
      name: 'news',
      component: news,
    },
    {
      path: '/me',
      name: 'me',
      component: me,
    },
    {
      path: '/login',
      name: 'login',
      component: login,
    },
    {
	  path: '/help',
	  name: 'help',
	  component: help
  	},
    {
  	  path: '/help/answerList',
  	  name: 'answerList',
  	  component: answerList
  	},
    {
      path: '/me/center',
      name: 'authenticationCenter',
      component: authenticationCenter,
    },
    {
      path: '/me/center/identity',
      name: 'identity',
      component: identity,
    }
  ]
})
